//
//  EditUserView.h
//  AccuroScale
//
//  Created by Yongfeng Li on 5/6/14.
//  Copyright (c) 2014 Yongfeng Li. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
//#import <CoreBluetooth/CoreBluetooth.h>
#import "UIWgtMeasType.h"

#import "NcitWiFiDev.h"
#import "NcitBleDevice.h"

//@interface UISegmentedControlIconText : UISegmentedControl
//@end

//@interface EditUserView : UIView<NcitWiFiDevDelegate, CBCentralManagerDelegate, CBPeripheralDelegate, AVCaptureMetadataOutputObjectsDelegate>
@interface EditUserView : UIView<WgtTypeDelegate, NcitWiFiDevDelegate, NcitBleDevDelegate, AVCaptureMetadataOutputObjectsDelegate>

@property BOOL isPopup;

-(void) popupUser;
-(void) hideUser;

-(void) setUserInfo:(NSString*) sName sex:(short)nSex chest:(float)fChest waist:(float)fWaist wgt:(NSString*)sWgt wun:(short)nWun hgt:(NSString*)sHgt hun:(short)nHun
               born:(NSString*)sBorn fitLvl:(short)nAct bodyId:(NSInteger)nBodyId;
-(void) ugdUserCardNo:(NSInteger)nBodyId sex:(short)nSex name:(NSString*) sName sn:(NSString*)sSn card:(NSString*)sCard;

-(void) viewDisappear;
@end
